package LeetCode.leetcode344;

public class Review1 {
    public void reverseString(char[] s) {
        int l = 0;
        int r = s.length-1;
        while (l < r){
            char tmp = s[l];
            s[l++] = s[r];
            s[r--] = tmp;
        }
    }
}
